import requests


def send_worktile_msg(content):
    headers = {"Content-Tpye": "application/json"}
    url = "https://wt.happy-inc.xyz/worktile-hook/incoming/23727295d4d44a929d0a23d2402567b7"
    params = {
        "attachment": {
            "fallback": "用于移动端将提示信息显示在首页上",
            "color": "#f1867e",
            "pretext": "XT FUTURE",
            "text": content,
        }
    }
    responds = requests.post(url=url, json=params, headers=headers)
    print('responds', responds)
    return True
